﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.Platform.PhysicalData
{
    [Table("EmailLog")]
    public class EmailLog
    {
        [System.ComponentModel.DataAnnotations.Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid Id { get; set; }
        public String ToAddress { get; set; }
        public String DisplayName { get; set; }
        public String From { get; set; }
        public String Subject { get; set; }
        
        public String Body { get; set; }
        
        public String IsBodyHtml { get; set; }

        public String SmtpUser { get; set; }
        public String SmtpPwd { get; set; }
        public String SmtpHost { get; set; }

        public Int32 Result { get; set; }



    }
}
